<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Untitled Document</title>
        <link rel="stylesheet" type="text/css" href="./js/dijit/themes/tundra/tundra.css"/>
        <style type="text/css">
            #container {
                border: 1px solid green;
                width: 960px;
                height: 600px;
            }
        </style>
    </head>
    <body class="tundra">
        <div id="container">
        </div>
        <div id="externalContainer">
        </div>
    </body>
</html>
<script src="./js/dojo/dojo.js">
</script>
<script type="text/javascript">
    
	dojo.require('dijit.TooltipDialog');
	dojo.require('dijit.form.DropDownButton');
	
    dojo.ready(function(){
		
    var dialog = new dijit.TooltipDialog({
		content:'this is a tooltipdialog'
	});
	
	console.debug(dialog.domNode);
	var button = new dijit.form.DropDownButton({
		label:'showtooltipdialog',
		dropDown: dialog		
	});
	
	dojo.byId('container').appendChild(button.domNode);
    
    });
    
    dojo.ready(function(){
        /*
         * it's the best to perform the parse time, in case we'll manipulate the dom before doc ready
         */
        dojo.parser.parse();
    });
</script>
